|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwiiusej.values.Orientation
public class Orientation
Class that represents the orientation of the wiimote.
| Field Summary | |
|---|---|
private float |
a_pitch
|
private float |
a_roll
|
private float |
pitch
|
private float |
roll
|
private float |
yaw
|
| Constructor Summary | |
|---|---|
Orientation()
Default constructor. |
|
Orientation(float r,
float p,
float y,
float ar,
float ap)
Contructor with raw, pitch , yaw. |
|
| Method Summary | |
|---|---|
float |
getAPitch()
Get absolute pitch (can not be smoothed). |
float |
getARoll()
Get absolute roll (can not be smoothed). |
float |
getPitch()
Get the pitch (can be smoothed). |
float |
getRoll()
Get the roll (can be smoothed). |
float |
getYaw()
Get the yaw. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private float roll
private float pitch
private float yaw
private float a_roll
private float a_pitch
| Constructor Detail |
|---|
public Orientation()
public Orientation(float r,
float p,
float y,
float ar,
float ap)
r - roll (can be smoothed)p - pitch (can be smoothed)y - yawar - absolute rollap - absolute pitch| Method Detail |
|---|
public float getRoll()
public float getPitch()
public float getYaw()
public float getARoll()
public float getAPitch()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||